import base64
import gzip
import StringIO

data = b'data_list=H4sIAAAAAAAAAO1TzWrcMBB%2BlaKNelocyT%2B79kIoOaQQKEloWnJoipHt8VqJLRlZXieEQPoOPbXP0HsvfZsW2rfoyJvQbtocCz0EjDX6RvM%2F35srkloj8vNUFmQRzFk0YzyIpsTKBsiCR%2F6cz1g4T0IeIHjZIkhGAzIlrdEtGCuhI4srslXLDJW7qjAanU3JVi6MkWAQ%2FPr507ePX76%2Fe%2F%2Fj5oPT6C5dgemkVqiMPeYxhxawkjmMmZBIlFkoWFQGkIcRF06PAX4z4x6%2FtWt0ATUihwd7Ry9eHz%2FZDRhn6zCbCXW5AVDpIAtbYXEsZr%2FACuSysogmvkMbofpS5LY3YwGHCo7qvnNORNtuZBGsYw2ylGRhTQ94UWAHbc7T24ad7D%2FfxzeZUApM2huXbAOykEIN%2BeJ0%2B3S7FUs43R4gW0kYnuHpXu1U1rY0ENQv8Wu9qsqW3A%2B8XDcjFODfwCBMkZq%2Bho7zp87SSlvDDoWIiogmMyfEgmacQkzFnMbhiMQ0STCnRmeydjnyOIqDxOcRDxDuxyHwkLG5K052aSlNZ9NCXK6LvJ6SQnZWqtyuB7ZpP%2B7C33bioRk%2B0FX3vAFbaRcixznfgQVYIV0fz8RKeL2VNbZF5b0xoKz3qjIgiiOt670LyHurzdYJzgPMZGJ6NZn8qfecn8lkFswIlgYr9ILOK91AilsgV9Jeprfzg4tWd7gXmEpa4lJU6SZZkjDyZ9fTDWbxKPSxP5wl96mV8NAPH6n1H1Lrbu4oHosaXgp1LtXyQKgzPO4xLSlpDE7IYhr7FBKahDRmToiRcuXIxtDR746Wj9z7V9ybX7%2F9CX2z5ovXBgAA&gzip=1&crc=-1644505289'



data1 = base64.b64decode(data)




def gzdecode(data) :

    compressedstream = StringIO.StringIO(data)
    gziper = gzip.GzipFile(fileobj=compressedstream)
    data3 = gziper.read()   # 读取解压缩后数据
    return data3

data2 = gzdecode(data1)
print(data2)